import { ValueOf } from 'type-fest';

const SYSTEM_L_ID = {
  manage: 0, // 管理平台
  business: 1, // 商务平台
  study: 2 // 学服平台
} as const;

export interface ReqParam {
  userCode: string;
  systemLid: ValueOf<typeof SYSTEM_L_ID>;
}

export interface MenuItem {
  url: string;
  type: number;
  plid: string;
  name: string;
  lid: string;
  children: MenuItem[];
}
